package cn.xjt.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: xu
 * @Description: TODO
 * @Date: 2021/11/4 16:18
 */
@RestController
public class HelloController
{
	@GetMapping("/hello")
	public String hello()
	{
		return "hello world,welcome to alibaba cloud nacos";
	}

	@GetMapping("/hello2")
	public String hello2()
	{
		int i = 1/0;
		return "hello world,welcome to alibaba cloud nacos";
	}
}
